// @ts-ignore
/* eslint-disable */
import request from '@/request'

/** addFixEquipment POST /api/fixEquipment/addFixEquipment */
export async function addFixEquipmentUsingPost(
  body: API.FixEquipmentDTO,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseLong_>('/api/fixEquipment/addFixEquipment', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  })
}

/** getFixEquipment POST /api/fixEquipment/getFixEquipment */
export async function getFixEquipmentUsingPost(
  body: API.FixEquipmentDTO,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseFixEquipmentDTO_>('/api/fixEquipment/getFixEquipment', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  })
}

/** queryFixEquipment POST /api/fixEquipment/queryFixEquipment */
export async function queryFixEquipmentUsingPost(
  body: API.FixEquipmentDTO,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponsePageResultFixEquipmentDTO_>(
    '/api/fixEquipment/queryFixEquipment',
    {
      method: 'POST',
      headers: {
        'Content-Type': 'application/json',
      },
      data: body,
      ...(options || {}),
    }
  )
}

/** updateFixEquipment POST /api/fixEquipment/updateFixEquipment */
export async function updateFixEquipmentUsingPost(
  body: API.FixEquipmentDTO,
  options?: { [key: string]: any }
) {
  return request<API.BaseResponseBoolean_>('/api/fixEquipment/updateFixEquipment', {
    method: 'POST',
    headers: {
      'Content-Type': 'application/json',
    },
    data: body,
    ...(options || {}),
  })
}
